Skip to main content

Get Model By ID

AutomatR.Nanonets.Activities.GetModelByID

The "Get Model By ID" activity in AutomatR is part of the Nanonets OCR Model activities package, providing detailed information about a specific OCR model by passing its Model ID. This activity enhances transparency and understanding of the OCR model's characteristics.

Properties

NameDescription
Input
Model IDSpecifies the unique identifier of the OCR model for which you want to retrieve details. String variables containing the Model ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Model By ID" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs the details of the specified OCR model with the data type GetModelID. Variables of type GetModelID to store the model details.

How to use:

  1. Drag and drop the "Get Model By ID" activity onto the workflow.
  2. Configure the properties by specifying the Model ID of the Nanonets OCR model you want to retrieve details for.
  3. Optionally, configure the delay.
  4. Execute the workflow to obtain details about the specified OCR model.

Example: Consider an example where the "Get Model By ID" activity is used to retrieve details about a Nanonets OCR model with the Model ID "12345":

Get Model By ID:
Model ID: "12345"
Delay: 3
Result: modelDetails

In this example, the activity retrieves details about the Nanonets OCR model with the Model ID "12345" with a delay of 3 seconds. The details are stored in the variable "modelDetails" of type GetModelID for further handling in the workflow.